<?php 

/**
* 猫类
*/
class Cat extends Animal
{
	public $name;
	public $age;
	/**
	 * 构造函数
	 */
	public function __construct($name=null,$age=null)
	{
		$name = '非洲'.$name;
		$this->name=$name;
		$this->age=$age;
	}
	public function run($info=null)
	{
		echo $this->name.'会跑,'.$info;
	}
	
}
















 ?>